package com.ssy.lingxi.pay.api.dto.request.eAccount;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 冻结
 * @author jw.chen
 * @version 2.0.0
 * @date 2021/12/10
 */
@Data
public class FreezeEAccountRequest implements Serializable {
    private static final long serialVersionUID = -670169067052721201L;
    /**
     * e账号id
     */
    @NotNull(message = "e账号id不能为空")
    private Long id;

    /**
     * 冻结金额
     */
    @NotNull(message = "冻结金额不能为空")
    private BigDecimal amount;

    /**
     * 原因/备注
     */
    private String remark;
}
